using UnityEngine;
using System.Collections;

public class PlayerPunchAttack : Attack {

    //Might be temp, depending how we do animations
    public float totalAnimationLifetime;
    public float animationLifetimeRemaining;

	// Use this for initialization
	void Start () {
        animationLifetimeRemaining = totalAnimationLifetime;
	}
	
	// Update is called once per frame
	protected override void Update () {
        animationLifetimeRemaining -= Time.deltaTime;
        if (animationLifetimeRemaining <= 0.0f)
        {
            DestroyAttack();
        }
	}
}
